CXX = g++
CXXFLAGS = -g -I..
LDFLAGS = `sdl-config --libs` -lSDL_image -lSDL_ttf -lfl
TARGET = testini
OBJS = testini.o ../libgame.a 
DOCDIR = doc


all:  $(TARGET) 

clean:
	rm -rf *.o core $(TARGET) 

$(TARGET): $(OBJS)
	$(CXX) $(CXXFLAGS) -o $(TARGET) $(OBJS) ../libgame.a $(LDFLAGS)

.SUFIXES: .cpp 
.cpp.o:
	$(CXX) -c $(CXXFLAGS) -o $@ $<
